package net.csdra.libraryborrowing.domain.user;

import net.csdra.libraryborrowing.domain.EntityBase;

import javax.persistence.Entity;
import java.sql.Timestamp;

/**
 * Created by msf on 2017/10/12.
 * metaId为借阅用户Id
 */
@Entity
public class UserBorrow extends EntityBase {

    //书籍副本
    String bookCopyId;
    String bookInfoId;
    //借阅开始时间
    Timestamp begin;
    //借阅结束时间
    Timestamp end;
    String state;


    public String getBookInfoId() {
        return bookInfoId;
    }

    public void setBookInfoId(String bookInfoId) {
        this.bookInfoId = bookInfoId;
    }

    public String getBookCopyId() {
        return bookCopyId;
    }

    public void setBookCopyId(String bookCopyId) {
        this.bookCopyId = bookCopyId;
    }

    public Timestamp getBegin() {
        return begin;
    }

    public void setBegin(Timestamp begin) {
        this.begin = begin;
    }

    public Timestamp getEnd() {
        return end;
    }

    public void setEnd(Timestamp end) {
        this.end = end;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
